﻿/****************
 * Copyright 2016 Brian Tabone
 * Licensed under the Apache 2.0 License
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * SelfMapDAL.cs
 * Data Access Layer for the SelfMap
 * 9/17/2016
 */

using IAO.Common.ServiceFramework.DataAccessLayer;
using log4net;

namespace SelfMap.DataAccessLayer
{
    public class SelfMapDal : IAODal
    {
        public static readonly int SchemaVersion = 1;

        public SelfMapDal(ILog logger) :
            base(logger, "SelfMap.db3", SchemaVersion)
        {
        }

        /// <summary>
        ///     Create the schema for World3D
        /// </summary>
        protected override void CreateSchema()
        {
            base.CreateSchema();
            Logger.Info($"SelfMap Schema Created");
        }
    }
}